package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 印刷出版类型对象 danmo_printing_type
 * 
 * @author yangle
 * @date 2024-11-28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoPrintingType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 印刷出版唯一标识 */
    private Long id;

    /** 印刷出版类型名称 */
    @Excel(name = "印刷出版类型名称")
    private String typeName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 印刷出版信息id */
    @Excel(name = "印刷出版信息id")
    private Long messageId;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("description", getDescription())
            .append("messageId", getMessageId())
            .toString();
    }
}
